package physical_spaces.DAO;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;
import login.beans.ConectionBean;

/**
 *
 * @author juan
 */
public class CreateDataFileDAO {
    
    String statement;
    public Connection conn;

    public CreateDataFileDAO(String statement, Connection connection )throws SQLException  {
        conn = connection;
        this.statement = statement;
        this.conn=conn;
        Statement stmt = conn.createStatement();
        stmt.executeQuery(statement);
        stmt.close();
    }
    
    

 }
    

